import request from '../utils/request'

// 查询考核周期
export function listAll(params) {
  return request({
    url: '/assessmentCycle/listAll',
    method: 'post',
    data: params
  })
}

// 新增考核周期
export function saveAssessmentCycle(params) {
  return request({
    url: '/assessmentCycle/saveAssessmentCycle',
    method: 'post',
    data: params
  })
}

// 删除考核周期
export function deleteAssessmentCycleById(params) {
  return request({
    url: '/assessmentCycle/deleteAssessmentCycleById',
    method: 'get',
    params
  })
}
